package com.example.springbooteasyexcel.service;

import com.example.springbooteasyexcel.bean.MenuExcel;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DemoExcelService {

    public void saveExcelList(List<MenuExcel> list) {
        System.out.println("开始读取");
        for (MenuExcel menu: list){
            System.out.print(menu.getMenuName());
        }
        System.out.println(list.size());
    }
}
